package guiserver;

import java.io.IOException;
import java.io.InputStreamReader;
import java.util.logging.Level;
import java.util.logging.Logger;

public class EntryPoint {

    public static void main(String[] args) {
        try {
            Server server = new Server();
            server.Start();
            //Ждем ввода какого-либо символа с консоли
            new InputStreamReader(System.in).read();
            server.Stop();
        } catch (IOException ex) {
            Logger.getLogger(EntryPoint.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
